package com.dji.sample.wayline.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dji.sample.wayline.model.entity.DevicePlayTaskEntity;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yjt
 * @since 2022-10-26
 */
public interface DevicePlayTaskDetailService extends IService<DevicePlayTaskEntity> {

    public Long startTask(Long id, String deviceNo, Long orgId, String orgCode, String username);

    public void endTask(Long taskId, String deviceNo);

    List<DevicePlayTaskEntity> unFinishTask(Long lineId,String deviceNo);

    String getOssPath(Long id) throws Exception;
}
